package ro.gateway.aida.struts.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;


public class OrgPersSearchForm extends ActionForm {

	// --------------------------------------------------------- Instance Variables

	private String orgText;
	private int type;
	private String orgKey;
	private String personText;
	private String personKey;
	
	
	// --------------------------------------------------------- Methods

	
	/** 
	 * Method reset
	 * @param ActionMapping mapping
	 * @param HttpServletRequest request
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		orgText="";
		type=-1;
		orgKey="";
		personText="";
		personKey="";
	}


	/**
	 * @return Returns the orgKey.
	 */
	public String getOrgKey() {
		return orgKey;
	}
	/**
	 * @param orgKey The orgKey to set.
	 */
	public void setOrgKey(String orgKey) {
		this.orgKey = orgKey;
	}
	/**
	 * @return Returns the orgText.
	 */
	public String getOrgText() {
		return orgText;
	}
	/**
	 * @param orgText The orgText to set.
	 */
	public void setOrgText(String orgText) {
		this.orgText = orgText;
	}
	/**
	 * @return Returns the personKey.
	 */
	public String getPersonKey() {
		return personKey;
	}
	/**
	 * @param personKey The personKey to set.
	 */
	public void setPersonKey(String personKey) {
		this.personKey = personKey;
	}
	/**
	 * @return Returns the personText.
	 */
	public String getPersonText() {
		return personText;
	}
	/**
	 * @param personText The personText to set.
	 */
	public void setPersonText(String personText) {
		this.personText = personText;
	}
	/**
	 * @return Returns the type.
	 */
	public int getType() {
		return type;
	}
	/**
	 * @param type The type to set.
	 */
	public void setType(int type) {
		this.type = type;
	}
}
